package com.pxx.item.service;

import com.pxx.common.utils.PageResult;
import com.pxx.item.pojo.SpuBo;
import com.pxx.item.pojo.TbSpu;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pxx.item.pojo.TbSpuDetail;

/**
* @author Yoo19
* @description 针对表【tb_spu(spu表，该表描述的是一个抽象性的商品，比如 iphone8)】的数据库操作Service
* @createDate 2025-06-27 08:10:48
*/
public interface TbSpuService extends IService<TbSpu> {

    PageResult<SpuBo> querySpuBoByPage(Integer page, Integer rows, String key, Boolean saleable);

    void addGoods(SpuBo spuBo);

    TbSpuDetail querySpuDetailBySpuId(Long spuId);


    void updateGoods(SpuBo spuBo);
}
